<?php 
/**
 * 
 * @author hushuai
 *
 */
class DictModel extends Model {
	
	/**
	 * 处理json对应语言包值
	 * @param unknown_type $array
	 * @param unknown_type $pid
	 * @return Ambigous <string, unknown>
	 */
	public function deal_jsonLang($array,$lang) {
		
		foreach($array as $k => $v) {
			
				$v['title'] = dejsonByLang($v['value'],$lang);  //json对应语言包值
				$array[]    = $v;
			}
		return $array;
	}
	
	
}
?>